package com.csu.letaobackend.serviceM;

import com.csu.letaobackend.bean.Admin;
import com.csu.letaobackend.commom.CommonResponse;

public interface AdminMService {
      CommonResponse<Admin> getAdmin(String username);

      CommonResponse<Admin> getAdmin(String username , String password);

      CommonResponse<Admin> getAdminByPhone(String memPhone);

      CommonResponse<Admin> updateAdminPassword(String username , String newPassword);

      CommonResponse<Admin> updateAdmin(Admin admin);

      CommonResponse<Admin> registerAdmin(Admin admin);

      CommonResponse<Admin> deleteAdmin(String username);
}
